#pragma once
#include "common.h"
#include "EngineRender.h"

struct IEglWrapper;
typedef shared_ptr<IEglWrapper> IEngineWrapperPtr;

class OGLRenderContext;
typedef shared_ptr<OGLRenderContext> OGLRenderContextPtr;

class OGLRenderDevice : public IEngineRenderDevice {
public:
	OGLRenderDevice(const RenderSetup& setup);
	virtual ~OGLRenderDevice();
	virtual IEngineRenderContextPtr GetRenderContext() const;
	virtual void Present();
private:
	IEngineWrapperPtr 	m_egl;
	OGLRenderContextPtr m_renderContext;
};